XXXXXXXXXXXXXXXXXXXXXXXXvoid(0)" frameborder="0"
name="MSearchResults" id="MSearchResults">
#include <core/processor/motion_provider.h>
◆ MotionProvider()
| MotionProvider::MotionProvider |
( |
const TypeComposite & |
_state_types, |
|
|
const YAML::Node & |
_params |
|
) |
| |
Constructor for the MotionProvider class.
- Parameters
-
| _state_types | TypeComposite with the types of the states that this motion provider will provide. |
| _params | YAML node with the parameters of the motion provider. |
◆ ~MotionProvider()
| wolf::MotionProvider::~MotionProvider |
( |
| ) |
|
|
inlinevirtual |
◆ addTypes()
| void MotionProvider::addTypes |
( |
const TypeComposite & |
_state_types | ) |
|
|
protected |
Add types to the motion provider.
- Parameters
-
| _state_types | The types of the states that this motion provider will provide |
◆ getOdometry()
Get the odometry.
- Returns
- The odometry
◆ getOrder()
| unsigned int wolf::MotionProvider::getOrder |
( |
| ) |
const |
|
inline |
Get the order of the state provider.
- Returns
- The order of the state provider to be used by the problem
◆ getState() [1/2]
Get the state at a specific time.
- Parameters
-
| _ts | The timestamp of the state to retrieve |
| _keys | The keys of the states to retrieve if empty, all keys are retrieved |
- Returns
- The state at the specified time
Implemented in wolf::ProcessorMotion.
◆ getState() [2/2]
Get the state at the last time.
- Parameters
-
| _keys | The keys of the states to retrieve if empty, all keys are retrieved |
- Returns
- The state at the current time
Implemented in wolf::ProcessorMotion.
◆ getTimeStamp()
| virtual TimeStamp wolf::MotionProvider::getTimeStamp |
( |
| ) |
const |
|
pure virtual |
Get the timestamp of the last motion.
- Returns
- The timestamp of the lastmotion
Implemented in wolf::ProcessorMotion.
◆ isStateProvider()
| bool wolf::MotionProvider::isStateProvider |
( |
| ) |
const |
|
inline |
Check if the motion provider is configured as a state provider.
- Returns
- True if the motion provider is a state provider, false otherwise
◆ setOdometry()
Set the odometry.
- Parameters
-
◆ setOrder()
| void wolf::MotionProvider::setOrder |
( |
unsigned int |
_order | ) |
|
|
inline |
Set the order of the state provider.
- Parameters
-
| _order | The order of the state provider to be used by the problem |
◆ is_state_provider_
| bool wolf::MotionProvider::is_state_provider_ |
|
protected |
Whether this motion provider is configured as a state provider.
◆ state_provider_order_
| unsigned int wolf::MotionProvider::state_provider_order_ |
|
protected |
If a state provider, the order to be used by the problem.
The documentation for this class was generated from the following files: